package ai;

import misc.Debug;

public class AIDebug {

	// CONFIG
	public static byte TRACE_LEVEL = 0;
	public static byte DEBUG_LEVEL = 1;
	public static byte INFO_LEVEL = 2;
	public static byte ERROR_LEVEL = 3;
	public static byte level = DEBUG_LEVEL;

	public static void logTrace(String message) {
		if (level<=TRACE_LEVEL)
			Debug.logConsole("AI TRACE : " + message);
	}

	public static void logDebug(String message) {
		if (level<=DEBUG_LEVEL)
			Debug.logConsole("AI DEBUG : " + message);
	}

	public static void logInfo(String message) {
		if (level<=INFO_LEVEL)
			Debug.logConsole("AI INFO : " + message);
	}

	public static void logError(String message) {
		if (level<=ERROR_LEVEL)
			Debug.logConsole("AI ERROR : " + message);
	}
}
